﻿@model Module

<h4>When</h4>
<p>@Html.Raw(Model.WhenHtml())</p>
<h4>Where</h4>
<p>@Html.Raw(Model.Venue.ToAddressHtml()) <a href="http://maps.google.com?q=@(Model.Venue.ToMapQuery())" target="_blank" class="external">Map</a></p>
<h4>Level</h4>
<p><a class="level" title="@Model.Level.HelpText">@Model.Level.Description</a></p>
<h4>Contact</h4>
<p>Please contact <a href="mailto:@Model.ContactEmail?subject=@Model.Title">@Model.ContactEmail</a> for any questions.</p>
<h4>@(Model.Speakers.Count > 1 ? "Instructors" : "Instructor")</h4>
<ul class="instructors">
    @foreach (UserInterop interop in Model.Speakers)
    {
        var speaker = new UserProfile(interop.UserName);
        <li>@speaker.FirstName @speaker.LastName</li>
    }
</ul>